package cn.itcast.day02.anli;

public class Test {
    public static void main(String[] args) {
        //创建笔记本对象
        NoteBook noteBook = new NoteBook();
        //创建鼠标对象
        Mouse mouse = new Mouse();

        //创建键盘对象
        KeyBorad keyBorad = new KeyBorad();

        //调用开机方法
        noteBook.start();

        //调用使用usb的方法
        //noteBook.useUSB(null);
        noteBook.useUSB(mouse);
        noteBook.useUSB(keyBorad);

        //调用关机方法
        noteBook.stop();
        System.out.println("1");
        System.out.println("2");
        System.out.println("3");
        System.out.println("10");
        System.out.println("2232324");
        System.out.println("1");
        System.out.println("323232");
        System.out.println("第三次提交");
        System.out.println("第四次提交");
    }
}
